.banners {
  width: 100%;
  height: 300rpx;

  image {
    width: 100%;
    height: 100%;
  }
}

.navlist {
  display: flex;
  padding: 20rpx;

  .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;

    .iconfont {
      width: 100rpx;
      height: 100rpx;
      line-height: 100rpx;
      border-radius: 50%;
      text-align: center;
      color: #ffffff;
      font-size: 50rpx;
      background: rgb(240, 19, 19);
    }

    .item-text {
      margin-top: 10rpx;
      font-size: 30rpx;
      font-weight: 400;
    }
  }
}

.recommend {
  padding: 20rpx;

  .scroll-wrap {
    display: flex;
    height: 300rpx;
    margin-top: 20rpx;

    .scroll-item {
      width: 200rpx;
      margin-right: 20rpx;

      image {
        width: 200rpx;
        height: 200rpx;
        border-radius: 10rpx;
      }

      text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: 28rpx;
      }
    }
  }
}

.ranklist {
  padding: 20rpx;

  .rank-swiper {
    height: 500rpx;
    padding-top: 10rpx;

    .rank-item {
      width: 95%;
      height: 100rpx;
      padding-left: 10rpx;
      background: #fbfbfb;

      .title {
        font-size: 30rpx;
        line-height: 80rpx;
      }

      .music {
        display: flex;
        align-items: center;
        margin-top: 20rpx;

        &:first-child {
          margin-top: 0;
        }

        image {
          width: 120rpx;
          height: 120rpx;
          border-radius: 6rpx;
        }

        .rank {
          width: 50rpx;
          margin-left: 20rpx;
        }

        .name {
          flex: auto;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
      }
    }
  }
}
